import {FormatLang} from "./lang";
import * as KeyCode from "../enums/key_code";
import {
    KeyCodeMouseLeft,
    KeyCodeMouseMid,
    KeyCodeMouseRight,
    KeyCodeMouseSide1,
    KeyCodeMouseSide2
} from "../enums/key_code_mouse";

const mouseKeyPre="mouse_"
const KbKeyPre="key_"
export const KeyLangData: Array<any> = [
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_0), "0"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_1), "1"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_2), "2"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_3), "3"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_4), "4"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_5), "5"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_6), "6"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_7), "7"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_8), "8"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_9), "9"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Minus), "Minus"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Equals), "Equals"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Q), "Q"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_W), "W"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_E), "E"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_R), "R"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_T), "T"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Y), "Y"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_U), "U"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_I), "I"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_O), "O"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_P), "P"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_LeftBracket), "LeftBracket"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_RightBracket), "RightBracket"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Backslash), "Backslash"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_A), "A"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_S), "S"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_D), "D"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_F), "F"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_G), "G"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_H), "H"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_J), "J"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_K), "K"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_L), "L"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Semicolon), "Semicolon"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Apostrophe), "Apostrophe"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Z), "Z"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_X), "X"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_C), "C"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_V), "V"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_B), "B"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_N), "N"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_M), "M"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Comma), "Comma"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Period), "Period"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Slash), "Slash"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_F1), "F1"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_F2), "F2"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_F3), "F3"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_F4), "F4"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_F5), "F5"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_F6), "F6"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_F7), "F7"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_F8), "F8"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_F9), "F9"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_F10), "F10"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_F11), "F11"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_F12), "F12"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Escape), "Escape"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Delete), "Delete"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Tab), "Tab"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Enter), "Enter"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Ctrl), "Ctrl"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Shift), "Shift"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_RightShift), "Right_Shift"),

    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Space), "Space"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Alt), "Alt"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_RightAlt), "Right_Alt"),

    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Cmd), "Cmd"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Command), "Command"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Up), "Up"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_RightCmd), "RightCmd"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Down), "Down"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Left), "Left"),
    FormatLang(KbKeyPre+String(KeyCode.KeyCode_Right), "Right"),



    FormatLang(mouseKeyPre +String(KeyCodeMouseLeft),"左键"),
    FormatLang(mouseKeyPre +String(KeyCodeMouseRight),"右键"),
    FormatLang(mouseKeyPre +String(KeyCodeMouseMid),"中键"),
    FormatLang(mouseKeyPre +String(KeyCodeMouseSide1),"侧键1"),
    FormatLang(mouseKeyPre +String(KeyCodeMouseSide2),"侧键2"),
]

